-- GENERATED SPELL FOR [Saltscale Hunter] --


function spell0_879(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_879', 500, 1)
end

function Sorts_879(pUnit, Event)
local choix_sorts_879 = math.random(0, 0)
if choix_sorts_879 == 0 then
pUnit:RegisterEvent('spell0_879', 1, 1)
end
end

function mob879_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_879', math.random(1500, 3000), 1)
end

function mob879_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob879_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob879_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(879, 1, 'mob879_Action')
RegisterUnitEvent(879, 2, 'mob879_Leave')
RegisterUnitEvent(879, 3, 'mob879_Kill')
RegisterUnitEvent(879, 4, 'mob879_Die')
